<div class="page">
    <div class="reg_input">
    <div><h3>Registrasi Akun Peneliti</h3></div>

    <table>
        <?php echo form_open_multipart('member/register'); ?>
        <tr>
            <td id="text_" style="width: 200px;">Nama*</td>
            <td ><input  type="text" name="nama" value="<?php echo $submit_data['nama']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('nama'); ?></td>
        </tr>
        <tr>
            <td id="text_">Gelar Depan </td>
            <td><input  type="text" name="gelar_depan" value="<?php echo $submit_data['gelar_depan']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('gelar_depan'); ?></td>
        </tr>
        <tr>
            <td id="text_">Gelar Belakang </td>
            <td><input  type="text" name="gelar_belakang" value="<?php echo $submit_data['gelar_belakang']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('gelar_belakang'); ?></td>
        </tr>
        <tr>
            <td id="text_">NIDN*</td>
            <td><input  type="text" name="nidn" value="<?php echo $submit_data['nidn']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('nidn'); ?></td>
        </tr>
        <tr>
            <td id="text_">NIP* </td>
            <td><input  type="text" name="nip" value="<?php echo $submit_data['nip']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('nip'); ?></td>
        </tr>
        <tr>
            <td id="text_">Email* </td>
            <td><input  type="text" name="email" value="<?php echo $submit_data['email']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('email'); ?></td>
        </tr>
        <tr>
            <td id="text_">Password* </td>
            <td><input  type="password" name="pass" value="" /></td>
            <td class="eror_td"><?php echo form_error('pass'); ?></td>
        </tr>
        <tr>
            <td id="text_">Jenis Kelamin* </td>
            <td>
                <select  type="text" name="jk" ">
                    <option value="" selected>Pilih Jenis</option>
                    <option value="1">Pria</option>
                    <option value="2">Wanita</option>
                </select>
            </td>
            <td class="eror_td"><?php echo form_error('jk'); ?></td>
        </tr>
        <tr>
            <td id="text_">Tanggal Lahir* </td>
            <td><input  type="text" name="tgl" value="<?php echo $submit_data['tgl']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('tgl'); ?></td>
        </tr>
        <tr>
            <td id="text_">No. HP* </td>
            <td><input  type="text" name="nohp" value="<?php echo $submit_data['nohp']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('nohp'); ?></td>
        </tr>
        
        <tr>
            <td id="text_">Alamat* </td>
            <td><textarea  type="text" name="alamat" value="<?php echo $submit_data['alamat']; ?>" ></textarea></td>
            <td class="eror_td"><?php echo form_error('alamat'); ?></td>
        </tr>
        
        <tr>
            <td id="text_">Jurusan* </td>
            <td>
                <select  type="text" name="jurusan">
                    <option value="" selected>Pilih Jurusan</option>
                    <?php foreach ($list_jurusan->result() as $r) { ?>
                        <option value="<?php echo $r->JURUSAN_ID; ?>"><?php echo $r->FAKULTAS_NAMA_SINGKATAN; ?> - <?php echo $r->JURUSAN_NAMA; ?></option>
                    <? } ?>
                    
                </select>
            </td>
            <td class="eror_td"><?php echo form_error('jurusan'); ?></td>
        </tr>
        <tr>
            <td id="text_">Jabatan </td>
            <td><input  type="text" name="jabatan" value="<?php echo $submit_data['jabatan']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('jabatan'); ?></td>
        </tr>
        <tr>
            <td id="text_">Golongan* </td>
            <td><input  type="text" name="golongan" value="<?php echo $submit_data['golongan']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('golongan'); ?></td>
        </tr>
        <tr>
            <td>Foto</td>
            <td><input style="width: 250px" type="file" name="userfile"/></td>
            <td class="eror_td"></td>
        </tr>
        <tr>
            <td></td>
            <td><input  type="submit" value="Daftar"/></td>
            <td class="eror_td"></td>
        </tr>
    <?php form_close() ?>
    </table>
    
    </div>
</div>
